<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<!-- 引入页面描述和关键字模板 -->
<title>${post.title}_${site.name}</title>
<meta name="keywords" content="${post.keywords}" />
<meta name="description" content="${post.description}" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!-- 网站图标 -->
<link rel="shortcut icon" href="${url}//favicon.ico" />
<link rel="icon" href="${url}/favicon.ico"/>
<!-- 禁止浏览器初始缩放 -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<!-- 引入主题样式表 -->
<link type="text/css" rel="stylesheet" href="${ctx}/template/themes/${site.theme}/css/style.css" />
<!-- 引入主题响应式样式表-->
<link type="text/css" rel="stylesheet" href="${ctx}/template/themes/${site.theme}/css/responsive.css" />
<!-- 引入自定义样式表 -->
<link type="text/css" rel="stylesheet" href="${ctx}/template/themes/${site.theme}/css/custom.css" />
<link type="text/css" rel="stylesheet" href="${ctx}/ext/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css" />
<!-- 引入字体样式表-->
<link rel="stylesheet" type="text/css" href="${ctx}/template/themes/${site.theme}/css/fonts/font-awesome/font-awesome.css"  media="all" />
<!-- 引入用户自定义代码 -->
<script type='text/javascript' src='${ctx}/template/themes/${site.theme}/js/jquery.min.js'></script>
<script type="text/javascript" src="${ctx}/ext/ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src="${ctx}/template/themes/${site.theme}/js/html5.js"></script>
<script src="${ctx}/template/themes/${site.theme}/js/css3-mediaqueries.js"></script>
<script src="${ctx}/template/themes/${site.theme}/js/PIE_IE678.js"></script>
<link rel="stylesheet" type="text/css" href="${ctx}/template/themes/${site.theme}/css/iefix.css"  media="all" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="${ctx}/template/themes/${site.theme}/css/fonts/font-awesome/font-awesome-ie7.min.css" media="all" />
<![endif]-->
<!--[if IE 6]>
<script src="${ctx}/template/themes/${site.theme}/js/kill-IE6.js"></script>
<![endif]-->
</head>
<body id="wrap" class="single single-post postid-1545 single-format-standard" style="background:#ffffff; ">
<!-- Nav -->
<!-- Moblie nav-->
<div id="body-container">
<?include("header.html"){}?>
	<div class="breadcrumbs">
		<div class="container clr">
		<h1>${post.title!}</h1>
		<div class="breadcrumbs-text">
			<a href="${url!'/'}" title="${site.name}">首页</a>&nbsp;»&nbsp;<a href="${ctx}/${categoryIdAliasMap["c"+post.category!]}.html" rel="category tag">${categoryMap["c"+post.category!]}</a>&nbsp;»&nbsp;${post.title!}</div>
		</div>
	</div>
</div><!-- Header Banner -->
<!-- /.Header Banner -->
<!-- Main Wrap -->
<div id="main-wrap">
	<div id="single-blog-wrap" class="container two-col-container">
		<div id="main-wrap-left">
		<!-- Content -->
		<div class="content">
			<div id="single-meta">
				<span class="single-meta-time"><i class="fa fa-calendar">&nbsp;</i>${post.create_time!}</span>
				<span class="single-meta-category"><i class="fa fa-folder-open">&nbsp;</i><a href="${ctx}/${categoryIdAliasMap["c"+post.category!]}.html" rel="category tag">${categoryMap["c"+post.category!]!}</a></span>
				<span class="single-meta-comments">|&nbsp;&nbsp;<i class="fa fa-comments"></i>&nbsp;<a href="#comments" class="commentbtn"><span class="ds-thread-count" data-thread-key="${post.id!}"></span></a></span>
				<span class="single-meta-views"><i class="fa fa-eye"></i>&nbsp;${post.read_num!0}&nbsp;</span>
			</div>
		<!-- Top ad -->
		<div id="singletop-banner" class="banner">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 横幅970*90 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:970px;height:90px"
     data-ad-client="ca-pub-6178527637915800"
     data-ad-slot="7234523674"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
		</div>
		<!-- /.Top ad -->
		<div class="single-text">
			${post.content!}
		</div>
		<!-- <div class="sg-tag">
			<i class="fa fa-tag"></i>&nbsp;&nbsp;<a href="#" rel="tag">验证码</a>
		</div> -->
		<div class="sg-cp">
			<i class="fa fa-bullhorn">&nbsp;</i>
			<p>除特别注明外，本站所有文章均为<a href="${url!'/'}" title="${site.name}" target="_blank">${site.name}</a>原创，转载请注明出处来自<a href="${url}/html/show_${post.id!}.html" title="${post.title!}">${url}/html/show_${post.id!}.html</a></p>
		</div>
		<!-- Bottom ad -->
		<div id="singlebottom-banner" class="banner"></div>
		<!-- /.Bottom ad -->
		<!-- Single Activity -->
		<div class="sg-act">
			<div class="mark-like-btn tinlike clr">
				<a class="share-btn like-btn " pid="${post.id!0}" href="javascript:;" title="点击喜欢">
			<i class="fa fa-heart"></i>
			<span>${post.like_num!0}</span>人喜欢 </a>
				<a class="share-btn collect ${decode(hasFavorite!, true, 'remove-collect', 'collect-no')}" pid="${post.id!0}" href="javascript:;" title="${decode(hasFavorite!, true, '已收藏', '登陆后点击收藏')}">
					<i class="fa fa-star"></i>
					<span>${post.favorite_num!0}人收藏 </span>
				</a>
			</div>			
			<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare baidu-share">
				<a href="#" class="bds_tsina weibo-btn share-btn" data-cmd="tsina">
					<i class="fa fa-weibo"></i>分享到微博
				</a>
				<a href="#" class="bds_weixin weixin-btn share-btn"><i class="fa fa-weixin"></i>分享到朋友圈
				<div id="weixin-qt" style="display: none; top: 80px; opacity: 1;">
						<img src="http://qr.liantu.com/api.php?text=${url}/html/show_${post.id!}.html" width="120">
						<div id="weixin-qt-msg">打开微信，使用“扫一扫”即可将网页分享至朋友圈。</div>
					</div>
				</a>
				<a href="#" class="bds_more more-btn share-btn" data-cmd="more"><i class="fa fa-share-alt fa-flip-horizontal"></i><span class="pc-text">更多</span><span class="mobile-text">分享</span></a>
			</div>		
		</div>
		<!-- /.Single Activity -->
		<!-- Related Articles -->
		<div class="relpost">
			<h3 class="multi-border-hl"><span>相关文章</span></h3>
			<ul>
				<?for(a in nextList!){?>
				<?if(aLP.index <= 8 ) {?>
				<li>
					<div class="relpost-inner">
						<div class="relpost-inner-pic">
							<a href="${url}/html/show_${a.id!}.html" title="${a.title!}" class="">
								<div class="thumb-img">
									<img src="${ctx}${a.thumb!'/images/no-thumb.jpg'}">
									<span><i class="fa fa-expand"></i></span>
								</div>
							</a>
						</div>
						<div class="relpost-inner-text">
							<a href="${url}/html/show_${a.id!}.html" rel="bookmark" title="${a.title!}">${str.subString(a.title!,0,15)}</a>
						</div>
					</div>
					<div class="clear"></div>
				</li>
				<?}}?>
			</ul>
		</div>		
		<!-- /.Related Articles -->				
		<!-- Prev or Next Article -->
		<div class="navigation">
			<div class="navigation-left"><span>上一篇：</span>
				<?if(isEmpty(last)){?><a href="#">无</a><?} else {?><a href="${url}/html/show_${last.id!}.html" rel="prev">${str.subString(last.title!'',0,16)}</a><?}?>
			</div>
			<div class="navigation-right"><span>下一篇：</span>
				<?if(isEmpty(next)){?><a href="#">无</a><?} else {?><a href="${url}/html/show_${next.id!}.html" rel="prev">${str.subString(next.title!'',0,16)}</a><?}?>
			</div>
		</div>
		<!-- /.Prev or Next Article -->
		
		<!-- Comments ad1 -->
		<div id="cmnt-banner1" class="banner"><!-- 底部广告 --></div>
		<!-- /.Comments ad1 -->
	</div><!-- /.Content -->		
	<!-- Comments -->
	<div class="comments-main">
		<a id="comments" name="comments"></a>
		<div class="ds-thread" data-thread-key="${post.id!}" data-title="${post.title!}" 
			data-url="${url}/html/show_${post.id!}.html" data-image="${ctx}${post.thumb!'/images/no-thumb.jpg'}"
			data-form-position="bottom" data-author-key="${session.front_login_user.id!0}"></div>
	    <script type="text/javascript">
	    <? /**var duoshuoQuery = {
   	       short_name: "yispider",
   	    	sso: {
   	           login: "${url}/user/dslogin?redirect=${url}/html/show_${post.id!}.html",	//替换为你自己的回调地址
   	           logout: "${url}/user/logout?redirect=${url}/html/show_${post.id!}.html"	//替换为你自己的回调地址
   	       }};**/ ?>
   	    var duoshuoQuery = {short_name:"yispider"};
    	(function() {
    		var ds = document.createElement('script');
    		ds.type = 'text/javascript';ds.async = true;
    		ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
    		ds.charset = 'UTF-8';
    		(document.getElementsByTagName('head')[0] 
    		 || document.getElementsByTagName('body')[0]).appendChild(ds);
    	})();
	    </script>
	</div>
	<!-- /.Comments -->
	</div>
<!-- Sidebar -->
<script type="text/javascript">
$('.site_loading').animate({'width':'55%'},50);  //第二个节点
</script>
<?include("right.html",{}){}?>
<script type="text/javascript">
$('.site_loading').animate({'width':'78%'},50);  //第三个节点
</script>
</div>
<div class="clear">
</div><!-- Blocks Layout -->
</div>
<!--/.Main Wrap -->
<script type="text/javascript">
var ajax_sign_object = {"redirecturl":"${url}/html/show_${post.id!}.html","ajaxurl":"${url}/ajax","loadingmessage":"\u6b63\u5728\u8bf7\u6c42\u4e2d\uff0c\u8bf7\u7a0d\u7b49..."};
var yi = {"home":"${url}","ajax_url":"${url}/ajax","tin_url":"${url}/template/themes/${site.theme}/","uid":${session.front_login_user.id!0}}
SyntaxHighlighter.all();
</script>
<script type='text/javascript' src='${url}/template/themes/${site.theme}/js/function.js'></script>
<script type='text/javascript' src='${url}/template/themes/${site.theme}/js/theme.js'></script>
<?include("footer.html",{}){}?>
<script type="text/javascript">
	$('.site_loading').animate({'width':'90%'},50);  //第四个节点
</script>
</div>

<script type="text/javascript">
	$('.site_loading').animate({'width':'100%'},50);  //第五个节点
</script>
<?include("sign.html"){}?>
</body>
</html>
